package com.yunxi.service.localService.sys;

import com.github.pagehelper.PageInfo;
import com.yunxi.bizToBaseData.pojo.AttachReqVO;
import com.yunxi.core.service.IServicePlus;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.model.sys.SysAttach;
import com.yunxi.sys.pojo.AttachVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-07
 */
public interface AttachService extends IServicePlus<SysAttach> {
     List<SysAttach> findAll(String pageNum, String pageSize) throws InvocationTargetException, IllegalAccessException;

     PageInfo findPageByVO(AttachVO attachVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void saveByAttachVoList(List<AttachVO> sysAttachVoList,String busId,String busSubId,LoginInfo login);

    void saveByAttachReqVoList(List<AttachReqVO> attachVOList, String vip_apply, String applyId, LoginInfo loginInfo);

   void delByBusSubId(String busId,String partnerCode);
}
